package math;

/**
 * @Package math
 * @Author shimmer
 * @Date 2020/8/1 10:09
 * @TODO
 */
public class Demo {
    public static void main(String[] args) {
        System.out.println("90度的sin值"+Math.sin(Math.PI/2));
        System.out.println("0度的cos值"+Math.cos(0));
        System.out.println("60度的正切值：" + Math.tan(Math.PI/3));
        System.out.println("1的反正切值： " + Math.atan(1));
        System.out.println("π/2的角度值：" + Math.toDegrees(Math.PI/2));
        System.out.println(Math.PI);
    }
}
